<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>

<style type="text/css">


	body {
		background-color:#333;-moz-box-shadow:inset 6px 10px 50px #000;-webkit-box-shadow:inset 6px 10px 50px #000;box-shadow:inset 6px 10px 50px #000;
		padding:20px;
		font:normal 11px Tahoma,Verdana,Arial,Sans-Serif;
		color:#999;
	}

	p {margin-top:20px;}
	code {color:#aa2;}
	
	#codes {
		border:none;
		width:98%;
		height:200px;
		margin:10px auto 10px;
		display:block;
		background-color:#444;-moz-box-shadow:inset 6px 10px 50px #000;-webkit-box-shadow:inset 6px 10px 50px #000;box-shadow:inset 6px 10px 50px #000;
		padding:5px;
		font:normal 12px 'Courier New',Monospace;
	}
	
	#codes:focus {background-color:#3c3c3c;color:#b1b040;}

	
</style>
</head>
<body>


<SCRIPT LANGUAGE="JavaScript">



<!-- Begin
function displayHTML(form) {
var inf = form.htmlArea.value;
win = window.open("", "", 'popup', 'toolbar = no, status = no');
win.document.write("" + inf + "");
}
//  End -->


function cdClear() {
    var wtarea = document.getElementById('codes');
    wtarea.value = '';
    wtarea.focus();
    document.getElementById('cvrt').disabled = false;
}


</script>





<!-- Demonstration -->
<center><form name="copy">
<input type=button value="Highlight All" onClick="javascript:this.form.htmlArea.focus();this.form.htmlArea.select();"><form>
<textarea name="htmlArea" spellcheck="false" id="codes" placeholder="Tulis/paste kode di sini lalu klik 'View' untuk melihat hasil javascript" WRAP=VIRTUAL>
</textarea>
<br>
<input type="button" id="cvrt" value=" view " onclick="displayHTML(this.form)"><input type="button" value=" Bersihkan " onclick="cdClear();">
</form>
<P>
<P>

</center>



</body></html>